package seven.rascontrol;

import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

public class RasControl_MobileActivity extends Activity implements OnClickListener {

	public TextView txt_Login, txt_Senha;
	public EditText edt_Login, edt_Senha;
	public Button but_Logar;

	Comunicacao comunicacao = new Comunicacao();

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);

		Log.i("SEVEN", "onCreate executado.");

		but_Logar = (Button) findViewById(R.id.but_login);
		but_Logar.setOnClickListener(this);

	}

	public void onClick(View v) {
		// DIALOG COM PROGRESS APOS O LOGIN - ESTOU ALTERANDO @Giselle
		// ProgressDialog dialog = ProgressDialog.show(this, "Login",
		// "Efetuando login. Por favor aguarde...", false, true);
		// new Thread().start();

		Log.i("String", "BURNDOWN");

		Intent int1 = new Intent(this, MenuInicialActivity.class);
		startActivity(int1);

		// dialog.dismiss();
	}
}